package com.liveinstars.im.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.liveinstars.im.common.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.ToString;

/**
 * <p>
 * 
 * </p>
 *
 * @author 8btc
 * @since 2019-02-01
 */
@Data
@ToString
public class User extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.NONE)
    private Long id;//id即保存的userid

    private String name;

    private String nickName;

    private String mobile;

    private String logo;
    //logo 用户第一次使用im的时候从用户中心拉取，以后客户端在点击头像详情的时候去获取最新图片的时候同步更新im
    //用户数据库
    private Integer groupId;

    private String date;
}
